//
// Created by s on 25-7-11.
//

#include "control.h"

void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
	/* USER CODE BEGIN Callback 0 */
	if (htim->Instance == TIM3)
	{
		dm_motor_ctrl_send(&hcan1, &motor[Motor1]);
		//		read_all_motor_data(&motor[Motor1]);
	}
}
